<?php

/**
 * Created by PhpStorm.
 * User: lwh
 * Date: 2017/7/21
 * Time: 15:40
 */
class Undertake{
    public static $STATUS_ONGOING = 0, $STATUS_EXPIRED = -1, $STATUS_FINISHED = 1,  $STATUS_CREDIT_GIVEN = 5;
    private $id;
    private $userId;
    private $stageId;
    private $startTime;
    private $endTime;
    private $contractTime;
    private $status;

    /**
     * @return mixed
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * @param mixed $id
     */
    public function setId($id)
    {
        $this->id = $id;
    }

    /**
     * @return mixed
     */
    public function getUserId()
    {
        return $this->userId;
    }

    /**
     * @param mixed $userId
     */
    public function setUserId($userId)
    {
        $this->userId = $userId;
    }

    /**
     * @return mixed
     */
    public function getStageId()
    {
        return $this->stageId;
    }

    /**
     * @param mixed $stageId
     */
    public function setStageId($stageId)
    {
        $this->stageId = $stageId;
    }

    /**
     * @return mixed
     */
    public function getStartTime()
    {
        return $this->startTime;
    }

    /**
     * @param mixed $startTime
     */
    public function setStartTime($startTime)
    {
        $this->startTime = $startTime;
    }

    /**
     * @return mixed
     */
    public function getEndTime()
    {
        return $this->endTime;
    }

    /**
     * @param mixed $endTime
     */
    public function setEndTime($endTime)
    {
        $this->endTime = $endTime;
    }

    /**
     * @return mixed
     */
    public function getContractTime()
    {
        return $this->contractTime;
    }

    /**
     * @param mixed $contractTime
     */
    public function setContractTime($contractTime)
    {
        $this->contractTime = $contractTime;
    }

    /**
     * @return mixed
     */
    public function getStatus()
    {
        return $this->status;
    }

    /**
     * @param mixed $status
     */
    public function setStatus($status)
    {
        $this->status = $status;
    }

}